﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SowEventInfor.aspx.cs"
    Inherits="OnlineManagement.Web.webs.SowEventMsg" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <link href="../resources/css/easyui.css" rel="stylesheet" type="text/css" />
    <title></title>
    <style type="text/css">
        #event table td
        {
            padding: 2px 12px;
        }
        .panInfo
        {
            width: 600px;
            min-height:200px;
            overflow-y: auto
        }
        #sowLogTable .hovertable
        {
            font-family: Verdana,Arial,Helvetica,sans-serif;
            font-size: 11px;
            color: #333333;
            border-width: 1px;
            border-color: #999999;
            border-collapse: collapse;
        }
        #sowLogTable table.hovertable th
        {
            background-color: #c3dde0;
            border-width: 1px;
            padding: 8px;
            border-style: solid;
            border-color: #a9c6c9;
        }
        #sowLogTable table.hovertable tr
        {
            background-color: #d4e3e5;
        }
        #sowLogTable table.hovertable td
        {
            border-width: 1px;
            padding: 8px;
            border-style: solid;
            border-color: #a9c6c9;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:Label runat="server" ID="lbMsg"></asp:Label>
        <asp:Panel runat="server" ID="panInfo" CssClass="panInfo">
            <div style="font-weight: bold; height: 20px">
           <span>母猪生产管理日志</span> 
            </div>
            <div id="sowLogTable" style="height:400px">
                <asp:Repeater runat="server" ID="repeaterShow">
                    <HeaderTemplate>
                        <table class="hovertable">
                            <tr>
                                <th>
                                    母猪耳号
                                </th>
                                <th>
                                    事件类型
                                </th>
                                <td>
                                    操作记录
                                </td>
                                <th>
                                    发生时间
                                </th>
                            </tr>
                    </HeaderTemplate>
                    <ItemTemplate>
                        <tr onmouseover="this.style.backgroundColor='#ffff66';" onmouseout="this.style.backgroundColor='#d4e3e5';">
                            <td>
                                <asp:Label runat="server" ID="lbSowBitID"></asp:Label>
                            </td>
                            <td>
                                <%#Eval("LogType")%>
                            </td>
                            <td>
                                <%#Eval("Message")%>
                            </td>
                            <td>
                                <%#Eval("BusinessLogDate", "{0:yyyy年MM月dd日 HH点mm分}")%>
                            </td>
                        </tr>
                    </ItemTemplate>
                    <FooterTemplate>
                        </table>
                    </FooterTemplate>
                </asp:Repeater>
            </div>
        </asp:Panel>
    </div>
    <asp:HiddenField runat="server" ID="hfBitID" />
    </form>
</body>
</html>
